#ifndef __MESSAGE_H
#define __MESSAGE_H

enum PROTOCOL_TYPE
{
	eDonkey = 0xE3,
	eMule = 0xC5
	
};
enum MESSAGE_TYPE
{
	LOGIN = 0
};
struct Messge_Head
{
	PROTOCOL_TYPE protocol;
	MESSAGE_TYPE message_type;
	int message_size;	
	Messge_Head()
	{
	};
// 	Messge_Head(PROTOCOL_TYPE _protocol,MESSAGE_TYPE _message_type, int _message_size )
// 	{
// 		protocol = _protocol;
// 		message_type = _message_type;
// 		message_size = _message_size;
// 	};

};

struct Message_Login
{
	Messge_Head message_head;
	char result;
	int id;
	
};

#endif
